﻿using SqlSugar;
using System;

namespace Configuration.ServerApi.Entity
{
    /// <summary>
    /// 实验记录表
    /// </summary>
    [SugarTable("bis_experiment_record")]
    public class bis_experiment_record
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 实验任务名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 实验任务编号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 实验任务状态  10: 队列中 20: 进行中 30: 已完成 40: 已终止 50: 已取消
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 预计工作时长
        /// </summary>
        public int? ExpectedWorkingHours { get; set; } = 0;

        /// <summary>
        /// 任务排序号
        /// </summary>
        public int? Sort { get; set; } = 0;

        /// <summary>
        /// 实验开始时间
        /// </summary>
        public DateTime? ExpStartTime { get; set; }

        /// <summary>
        /// 实验结束时间
        /// </summary>
        public DateTime? ExpEndTime { get; set; }

        /// <summary>
        /// 流程配置内容
        /// </summary>
        public string FlowPathConfig { get; set; }

        /// <summary>
        /// 组件配置内容
        /// </summary>
        public string AssemblyConfig { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 所属组织编号
        /// </summary>
        public string OrgGuid { get; set; }

        /// <summary>
        /// 所属组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新人ID
        /// </summary>
        public string UpdateUser { get; set; }

        /// <summary>
        /// 最后更新人姓名
        /// </summary>
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除  0: 未删除 1: 已删除
        /// </summary>
        public int? Del_Flag { get; set; } = 0;

    }
}
